@import "common.less";
html,body{
  height: 100%;
}

body{
  position: relative;
  padding-top: 45px;
  padding-bottom: 50px;
}



.pyg_view{
  height: 100%;
  overflow: scroll;

  // 首页导航
  .pyg_nav {
    display: flex;

    a {
      flex: 1;
      padding: 10px;
    }
  }
}

//商品列表
.pyg_goods_list{
  .goods_item{//大图片
    padding: 0 12px;
    .item_title{
      margin-bottom: 5px;
    }
    .item_list{
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;//换行
      // 让元素分布在两边
      justify-content: space-between;
      li{
        width: 49%;
        background-color: #fff;
        margin-bottom: 5px;
        padding: 5px;
        .goods_detail{
          .goods_name{
            font-size: 12px;
            color:#000;
            overflow: hidden;
            height: 40px;
          }
          .goods_price{
            color:red;
            font-size: 14px;
          }
        }
        .goods_like{
          display: block;
          width: 60%;          
          margin: 0 auto;
        }
      }
    }
  }
}




